﻿using Ledict.ConditionExtract.DAL;
using Ledict.ConditionExtract.Model;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Ledict.ConditionExtract.BLL
{
    public class SYS_CaseCause_SolveBLL
    {
        SYS_CaseCause_SolveDAL dal = new SYS_CaseCause_SolveDAL();

        /// <summary>
        /// 获取化解相关数据
        /// </summary>
        /// <param name="CC_ID"></param>
        /// <returns></returns>
        public DataTable GetCaseCauseSolve(string CC_ID)
        {
            return dal.GetCaseCauseSolve(CC_ID);
        }

        /// <summary>
        /// 删除化解相关数据
        /// </summary>
        public bool DeleteCaseCauseData(string CC_ID)
        {
            return dal.DeleteCaseCauseData(CC_ID);
        }

        /// <summary>
        /// 增加化解相关数据
        /// </summary>
        public bool AddCaseCauseSolve(SYS_CaseCause_Solve model)
        {
            return dal.AddCaseCauseSolve(model);
        }

    }
}
